%module OgreTextureManager

%{
#include "OGRE/OgreTextureManager.h"
	%}

%import "OgrePrerequisites.i"
%import "OgrePixelFormat.i"
%import "OgreResourceManager.i"
%import "OgreTexture.i"
%import "OgreImage.i"

namespace Ogre {

	%nodefaultctor TextureManager;
    class TextureManager : public ResourceManager
    {
    public:

        virtual TexturePtr load( 
            const String& name, const String& group, 
            TextureType texType = TEX_TYPE_2D, int numMipmaps = MIP_DEFAULT, 
            Real gamma = 1.0f, bool isAlpha = false,
            PixelFormat desiredFormat = PF_UNKNOWN, 
			bool hwGammaCorrection = false);

        virtual TexturePtr loadImage( 
            const String &name, const String& group, const Image &img, 
            TextureType texType = TEX_TYPE_2D,
            int iNumMipmaps = MIP_DEFAULT, Real gamma = 1.0f, bool isAlpha = false,
            PixelFormat desiredFormat = PF_UNKNOWN, bool hwGammaCorrection = false);
			
    };

}// Namespace
